import { request } from 'umi';
import { inteLoginItem } from '@/utils/interface';

//登陆接口
export let getLogin=(data:inteLoginItem)=>{
    return request('/login',{
        method: 'POST',
        data
    })
}

//验证码接口
export let getCaptrue=()=>{
    return request('/captchaImage')
}

//个人中心 左
export let teacherLogin=()=>{
    return request('/getInfo')
}
//个人中心 右
export let teacherprofile=()=>{
    return request('/system/user/profile')
}

export let teacherBlanList=()=>{
    return request('/sxpt/blacking/blackList')
}